package org.swift.mashup.engine.model;

import java.util.Iterator;
import java.util.Map;

@SuppressWarnings("unchecked")
public class NamespaceResolverImpl implements net.sf.saxon.om.NamespaceResolver {

	final Map<String, String> namespaces;
	
	public NamespaceResolverImpl (final Map<String, String> namespaces){
		this.namespaces = namespaces;
	}

	@Override
	public String getURIForPrefix(String prefix, boolean arg1) {
		return this.namespaces.get(prefix);
	}

	@Override
	public Iterator iteratePrefixes() {
		return null;
	}

}
